<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>i2c: User Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">i2c
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">User Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="User" --><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#ab36fed15e037959bf51f903c21d6d3b7">__construct</a> ($username, $password, $fname, $lname, $permissionlevel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a115118210262c4e54eaf55d8d746e105">setUserID</a> ($userID)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#ac359b701a2ccaff746dd480f03314244">setUsername</a> ($username)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a3e35c8d3dbb2c513c618a664389e0926">setPassword</a> ($password)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a99ce2e7fb2ebdd26751a78130d7618c6">setLname</a> ($lname)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a229725117a8621883346bcf91b09e542">setFname</a> ($fname)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a87684d00c8cfdedeef3536ef74f7ecfa">setPermissionLevel</a> ($permissionlevel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a0aa76e950df1e9828e758d74d2461d90">getUserID</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a81b37a3c9d639574e394f80c1138c75e">getUsername</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a04e0957baeb7acde9c0c86556da2d43f">getPassword</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a9790bc5c0bd32aa14e70f6064a368451">getLname</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a472e4a5d22b9d98f5067299e5743f85e">getFname</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a30bc5290ca98d8d3a7aec846dfcc29fe">getPermissionLevel</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_user.html#a50adc8e1bb62e94c4adde487f4523196">printAllAttributes</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This is the control file. It acts as the medium between the <a class="el" href="view_user_8php.html">viewUser.php</a> file, and the <a class="el" href="db_user_8php.html">dbUser.php</a> file. </p>

<p>Definition at line <a class="el" href="_user_8php_source.html#l00008">8</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab36fed15e037959bf51f903c21d6d3b7"></a><!-- doxytag: member="User::__construct" ref="ab36fed15e037959bf51f903c21d6d3b7" args="($username, $password, $fname, $lname, $permissionlevel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__construct </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>username</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>password</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>lname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>permissionlevel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00020">20</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a472e4a5d22b9d98f5067299e5743f85e"></a><!-- doxytag: member="User::getFname" ref="a472e4a5d22b9d98f5067299e5743f85e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getFname </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00069">69</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a9790bc5c0bd32aa14e70f6064a368451"></a><!-- doxytag: member="User::getLname" ref="a9790bc5c0bd32aa14e70f6064a368451" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getLname </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00065">65</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a04e0957baeb7acde9c0c86556da2d43f"></a><!-- doxytag: member="User::getPassword" ref="a04e0957baeb7acde9c0c86556da2d43f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPassword </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00061">61</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a30bc5290ca98d8d3a7aec846dfcc29fe"></a><!-- doxytag: member="User::getPermissionLevel" ref="a30bc5290ca98d8d3a7aec846dfcc29fe" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPermissionLevel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00073">73</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a0aa76e950df1e9828e758d74d2461d90"></a><!-- doxytag: member="User::getUserID" ref="a0aa76e950df1e9828e758d74d2461d90" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getUserID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00053">53</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a81b37a3c9d639574e394f80c1138c75e"></a><!-- doxytag: member="User::getUsername" ref="a81b37a3c9d639574e394f80c1138c75e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getUsername </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00057">57</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a50adc8e1bb62e94c4adde487f4523196"></a><!-- doxytag: member="User::printAllAttributes" ref="a50adc8e1bb62e94c4adde487f4523196" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">printAllAttributes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00077">77</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a229725117a8621883346bcf91b09e542"></a><!-- doxytag: member="User::setFname" ref="a229725117a8621883346bcf91b09e542" args="($fname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setFname </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>fname</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00045">45</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a99ce2e7fb2ebdd26751a78130d7618c6"></a><!-- doxytag: member="User::setLname" ref="a99ce2e7fb2ebdd26751a78130d7618c6" args="($lname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setLname </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>lname</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00041">41</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a3e35c8d3dbb2c513c618a664389e0926"></a><!-- doxytag: member="User::setPassword" ref="a3e35c8d3dbb2c513c618a664389e0926" args="($password)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setPassword </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>password</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00037">37</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a87684d00c8cfdedeef3536ef74f7ecfa"></a><!-- doxytag: member="User::setPermissionLevel" ref="a87684d00c8cfdedeef3536ef74f7ecfa" args="($permissionlevel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setPermissionLevel </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>permissionlevel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00049">49</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="a115118210262c4e54eaf55d8d746e105"></a><!-- doxytag: member="User::setUserID" ref="a115118210262c4e54eaf55d8d746e105" args="($userID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setUserID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>userID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00029">29</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<a class="anchor" id="ac359b701a2ccaff746dd480f03314244"></a><!-- doxytag: member="User::setUsername" ref="ac359b701a2ccaff746dd480f03314244" args="($username)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setUsername </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>username</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_user_8php_source.html#l00033">33</a> of file <a class="el" href="_user_8php_source.html">User.php</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Jon/Downloads/OOP/model/<a class="el" href="_user_8php_source.html">User.php</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 18:18:57 for i2c by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
